package com.sikaryofficial.workbench.config;

import com.sikaryofficial.workbench.domain.vo.goods.GoodsPageSortVO;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @author : wuweihong
 * @desc : 工作台-商品参数配置
 * @date : 2024-09-29
 */

@Configuration
@ConfigurationProperties(prefix = "workbench.goods")
@Getter
@Setter
@Slf4j
public class WorkBenchGoodsConfig {

    private String priceTierExpression;

    private List<String> navigationSortList;
    /**
     * 页面排序数据显示
     */
    private List<GoodsPageSortVO> sortByShow;

    /**
     * 商品素材最大数量
     */
    private Integer maxGoodsMaterialNum;

}
